package com.shxy.rlzy.controller;

import com.shxy.rlzy.utils.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: tanhao
 * @Description: 自定义控制器基类
 * @DateTime: 8/16/2021 12:00 PM
 **/
public class BaseController {
    HttpServletRequest request;
    RedisUtil redisUtil;

    @Autowired
    public void setRequest(HttpServletRequest request) {
        this.request = request;
    }
    @Autowired
    public void setRedisUtil(RedisUtil redisUtil) {
        this.redisUtil = redisUtil;
    }
}
